package ksic.lookdom.service;

import java.util.List;

import ksic.lookdom.dao.LookdomDao;
import ksic.lookdom.vo.Lookd_BizDetailVo;
import ksic.lookdom.vo.Lookd_BizmasterVo;
import ksic.lookdom.vo.Lookd_UserVo;

public class LookdomServiceImpl implements LookdomService {

	private LookdomDao lookdomDao;
	
	/* LookdomDao Setter */
	public void setLookdomDao(LookdomDao lookdomDao){
		this.lookdomDao = lookdomDao;
	}
	
	public Lookd_UserVo loginServie(String id) {
		Lookd_UserVo userVo = lookdomDao.loginDao(id);
		return userVo;
	}

	public void signUpService(String id) {
		lookdomDao.signUp(id);
	}

	public void sigbUpService(Lookd_UserVo userVo) {
		lookdomDao.signUpDao(userVo);
	}

	public void bizService(Lookd_BizmasterVo lookd_bizVo) {
		lookdomDao.bizDao(lookd_bizVo);
	}

	public List<Lookd_BizmasterVo> bizListService() {
		return lookdomDao.bizListDao();
	}

	public Lookd_BizDetailVo getBizDetailService(String bizcd) {
		return lookdomDao.bizDetailDao(bizcd);
	}

	public String login(String id) {
		return lookdomDao.login(id);
	}

}
